﻿using UnityEngine;
using System.Collections;

public class HashtableHelper {
		
	public static Hashtable Hash(params object[] keyValues){
		Hashtable ht = new Hashtable();
		for(int i=0;i<keyValues.Length;i += 2){
			string key = keyValues[i].ToString();
			object value = keyValues[i+1];
			ht[key] = value;
		}
		return ht;
	}
}
